package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PrizeDrawActivityPoolBonusTaypEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 瓜分活动-奖池累计记录表(sc_prize_draw_activity_pool_settle_log)实体类
 *
 * @author Sun
 * @since 2023-09-15 15:03:59
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_prize_draw_activity_pool_settle_log")
public class PrizeDrawActivityPoolSettleLog extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 活动id
     */
    private Long activityId;
    /**
     * 奖池id
     */
    private Long poolId;
    /**
     * 统计奖池金额(需要加入的金额)
     */
    private BigDecimal amount;
    /**
     * 奖金类型 1:平台首发 2:二级市场 3:IP商城
     */
    private PrizeDrawActivityPoolBonusTaypEnum bonusType;
    /**
     * 金额(基数)
     */
    private BigDecimal payAmount;
    /**
     * 关联id(藏品id/活动id)
     */
    private Long linkId;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 关联名称
     */
    private String linkName;
    /**
     * 关联比例
     */
    private BigDecimal linkScale;
    /**
     * 是否结算 0:否 1:是
     */
    private Boolean isSettle;

}